package com.supreme.studyserver.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FilePathConfig {

    @Bean
    public String userDir() {
        return System.getProperty("user.dir");
    }

    @Bean
    public String environmentLog() {
        return userDir() + "/temp-data/study-server-environment.log";
    }

    @Bean
    public String beanNamesLog() {
        return userDir() + "/temp-data/study-server-bean-names.log";
    }

    @Bean
    public String javaJVMLog() {
        return userDir() + "/temp-data/study-server-java-jvm.log";
    }
}
